
package com.fire.eyes.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import cn.afterturn.easypoi.excel.annotation.Excel;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应商区域对应
 *
 * @author Matthew
 * @Date 2019-01-17 20:18
 */
@TableName("t_supplier_area")
public class SupplierAreaModel extends Model<SupplierAreaModel> {

    private static final long serialVersionUID = 1L;


    /**
     * 供应商ID
     * 
     */
    @TableField(value="supplierid")
    @Excel(name = "供应商ID")
    private Integer supplierid;
    /**
     * 区域ID
     * 
     */
    @TableField(value="areaid")
    @Excel(name = "区域ID")
    private Integer areaid;
    /**
     * 区域编码
     * 
     */
    @TableField(value="areano")
    @Excel(name = "区域编码")
    private String areano;
    /**
     * 获取: 供应商ID
     * 
     */
    public Integer getSupplierid() {
        return supplierid;
    }
    /**
     * 设置: 供应商ID
     * 
     */
    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }
    /**
     * 获取: 区域ID
     * 
     */
    public Integer getAreaid() {
        return areaid;
    }
    /**
     * 设置: 区域ID
     * 
     */
    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }
    /**
     * 获取: 区域编码
     * 
     */
    public String getAreano() {
        return areano;
    }
    /**
     * 设置: 区域编码
     * 
     */
    public void setAreano(String areano) {
        this.areano = areano;
    }

    @Override
    protected Serializable pkVal() {
        return this.supplierid;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
